package com.zut.yunxi.yunxi.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author liqiqi
 * @email 523892377@qq.com
 * @date 2020-07-13 22:22:53
 */
@Data
@TableName("oauth_client_details")
public class OauthClientDetailsEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 客户端id
	 */
	@TableId
	private String clientId;
	/**
	 * 资源集合
	 */
	private String resourceIds;
	/**
	 * 客户端密钥
	 */
	private String clientSecret;
	/**
	 * 授权域
	 */
	private String scope;
	/**
	 * 授权方式
	 */
	private String authorizedGrantTypes;
	/**
	 * 跳转地址
	 */
	private String webServerRedirectUri;
	/**
	 * 权限集合
	 */
	private String authorities;
	/**
	 * token有效期
	 */
	private Integer accessTokenValidity;
	/**
	 * refresh有效期
	 */
	private Integer refreshTokenValidity;
	/**
	 * 授权信息
	 */
	private String additionalInformation;
	/**
	 * 其他
	 */
	private String autoapprove;

}
